package ch.ti.kmltomap;

import android.graphics.Color;
import android.util.Log;

public abstract class ColorStyle {
	
	public String id = "";
	public String color = "";
	
	public int hColor(){
		int color = -1;
		try{
			color = Color.parseColor(this.color);
		}catch (Exception e) {
			Log.e("Color conversion", "Unable to convert color string to android.graphics.Color");
		}
		return color;
	}

}
